

        <g:set var="entityName" value="${message(code: 'classes.label', default: 'Classes')}" />
            <div class="list">
                <table>
                    <thead>
                        <tr>
                        
                            <g:sortableColumn property="level" title="班级" />
                        
                            <th><g:message code="classes.master.label" default="Master" /></th>
                   	    
                            <g:sortableColumn property="buildTime" title="${message(code: 'classes.buildTime.label', default: 'Build Time')}" />

                            <th>班级现有人数</th> 
 
                            <th></th>
                   	    
                        </tr>
                    </thead>
                    <tbody>
                    <g:each in="${classesInstanceList}" status="i" var="classesInstance">
                        <tr class="${(i % 2) == 0 ? 'odd' : 'even'}">
                        
                            <td><g:link action="classesExam" id="${classesInstance.id}">${classesInstance}</g:link></td>
                        
                            <td>${fieldValue(bean: classesInstance, field: "master")}</td>
                        
                            <td><g:formatDate date="${classesInstance.buildTime}" /></td>

                            <td>${classesInstance.student.size()}</td>
                                                     

                            <td class="operate">
                                <x:operate width="130">
                                <g:link action="classesExam" id="${classesInstance.id}">班级的考试情况</g:link> 
                                </x:operate>
                            </td>
                        
                        </tr>
                    </g:each>
                    </tbody>
                </table>
            </div>
            <div class="paginateButtons">
                <x:paginate total="${classesInstanceTotal}" /> 
            </div>
